<%--
  Created by IntelliJ IDEA.
  User: LENOVO
  Date: 2020/7/24
  Time: 15:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/pages/commons/head-meta.jsp" %>
<%@ include file="/WEB-INF/pages/commons/js-meta.jsp" %>
<html>
<head>
    <title>角色列表</title>
</head>
<body>
<table class="table table-bordered table-hover">

    <tr class="info" style="font-size: 20px;font-weight: bolder;text-align: center">
        <td colspan="7"><a title="点击返回首页"  href="${ctx}/admin/go/index">角色列表展示</a></td>
    </tr>

    <tr class="active" style="font-size: 20px;font-weight: bolder;text-align: center">
        <td>ID</td>
        <td>名称</td>
        <td>权重</td>
        <td>描述</td>
        <td>创建时间</td>
        <td>备注</td>
        <td>操作</td>
    </tr>

    <c:forEach items="${list}" var="role">
        <tr class="active" style="text-align: center">
            <td>${role.id}</td>
            <td>${role.name}</td>
            <td>${role.weight}</td>
            <td>${role.description}</td>
            <td>${role.createTime}</td>
            <td>${role.remark}</td>
            <td>
                <button type="button" class="btn btn-primary">新增</button>
                <button type="button" class="btn btn-info">编辑</button>
                <button type="button" class="btn btn-danger">删除</button>
            </td>
        </tr>
    </c:forEach>

</table>

</body>
</html>

</body>
</html>
